package com.adingxiong.cft.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @ClassName UserRoleBo
 * @Description TODO
 * @Author xiongchao
 * @Date 2020/9/25 16:31
 **/
@Data
public class UserRoleBo {

    @NotNull
    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @NotNull
    @ApiModelProperty(value = "角色id")
    private Integer roleId;
}
